package com.guo.hui.enumtype;

public enum DelFlag {
	
	AVIABLE("0", "有效"),

	LOSE("1", "无效");
	
	private String index;

	private String name;
	
	private DelFlag(String index,String name) {
		this.index = index;
		this.setName(name);
	}

	@Override
	public String toString() {
		return this.index;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
